package com.ailesson.video.model.reply;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Schema(name = "小节视频返回值")
@Data
public class VideoSimpleReply implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @Schema(name = "id", description = "主键", type = "Long")
    private Long id;
    /**
     * 课程ID
     */
    @Schema(name = "courseId", description = "课程ID", type = "Long")
    private Long courseId;
    /**
     * 章节ID
     */
    @Schema(name = "chapterId", description = "章节ID", type = "Long")
    private Long chapterId;
    /**
     * 节点名称
     */
    @Schema(name = "title", description = "节点名称", type = "String")
    private String title;
    /**
     * 云端视频资源
     */
    @Schema(name = "videoSourceId", description = "云端视频资源", type = "String")
    private String videoSourceId;
    /**
     * 排序字段
     */
    @Schema(name = "sort", description = "排序字段", type = "Integer")
    private Integer sort;
    /**
     * 是否可以试听：0收费 1免费
     */
    @Schema(name = "isFree", description = "是否可以试听：0收费 1免费", type = "Integer")
    private Integer isFree;
}
